<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<title>查看文章</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/add-essay.css">
</head>
<body>

	<div class="container">


		<form action="AddEssay" method="post">



			<ul class="ul-1">

				<li class="li-1">

					<p class="big-title">查看文章</p>

				</li>


				<li class="li-1">
					<!-- 标题 --> <span class="title">标题：</span> <input class="input-1"
					readonly="readonly" value="${essay.title}" name="title" type="text">
					<span class="errMsg">${titleErr}</span>
				</li>

				<li class="li-1">
					<!-- 版本 --> <span class="title">版本：</span> <input class="input-1"
					readonly="readonly" value="${essay.version}" name="version"
					type="text"> <span class="errMsg"></span>

				</li>
				<li class="li-1">
					<!-- 密级 --> <span class="title">密级：</span> <select class="select-1" 
					disabled="disabled"  name="thick">
						<option ${essay.thick==1?"selected=\"selected\"":""} value="1">个人
							- 仅自己可见，无需管理员审核</option>
						<option ${essay.thick==2?"selected=\"selected\"":""} value="2">部门
							- 仅所在部门人员可见，需要管理员审核</option>
						<option ${essay.thick==3?"selected=\"selected\"":""} value="3">企业
							- 所在企业任何人员可见，需要管理员审核</option>
						<option ${essay.thick==4?"selected=\"selected\"":""} value="4">公告
							- 所有人员可见（包括未登录）只能由管理员发布</option>
				</select> <span class="errMsg">${thickErr}</span>

				</li>


				<li class="li-2">
					<!-- 摘要 --> <span class="title">摘要：</span> <textarea name="digest"
						readonly="readonly" class="textarea-1">${essay.digest}</textarea>
				</li>
				<li class="li-3">
					<!-- 正文 --> <span class="title">内容：</span> <textarea name="content"
						readonly="readonly" class="textarea-2">${essay.content}</textarea>


				</li>


				<li class="li-1"><input class="reset" type="reset" disabled="disabled"
					 value="重置"> <input class="submit"
					type="submit" disabled="disabled" value="提交"></li>


			</ul>








		</form>


	</div>

</body>
</html>